package com.microservices.auth.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

/**
 * 角色互斥表
 *
 * @author daiqiaohong
 * @since 2025年1月13日
 */
@Getter
@Setter
@TableName("role_mutual")
@Schema(description = "角色互斥表")
public class RoleMutualEntity extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableField("role_id_a")
    @Schema(description = "A角色ID")
    private String roleIdA;

    @TableField("role_id_b")
    @Schema(description = "B角色ID")
    private String roleIdB;

    @TableField("description")
    @Schema(description = "互斥说明")
    private String description;

}
